/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "实际发生额-SAP",TableName = "Fk_sjfs")]
    public partial class Fk_sjfs:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="sj_id")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int sj_id { get; set; }

       /// <summary>
       ///过账日期
       /// </summary>
       [Display(Name ="过账日期")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? budat { get; set; }

       /// <summary>
       ///会计凭证
       /// </summary>
       [Display(Name ="会计凭证")]
       [MaxLength(10)]
       [Column(TypeName="varchar(10)")]
       [Editable(true)]
       public string docnr { get; set; }

       /// <summary>
       ///科目
       /// </summary>
       [Display(Name ="科目")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string racct { get; set; }

       /// <summary>
       ///金额
       /// </summary>
       [Display(Name ="金额")]
       [Column(TypeName="numeric")]
       [Editable(true)]
       public decimal? hsl { get; set; }

       /// <summary>
       ///借方/贷方
       /// </summary>
       [Display(Name ="借方/贷方")]
       [MaxLength(1)]
       [Column(TypeName="nchar(1)")]
       [Editable(true)]
       public string drcrk { get; set; }

       /// <summary>
       ///成本中心/研发项目
       /// </summary>
       [Display(Name ="成本中心/研发项目")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string rcntr { get; set; }

       /// <summary>
       ///凭证抬头文本
       /// </summary>
       [Display(Name ="凭证抬头文本")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string remark { get; set; }

       /// <summary>
       ///ct成本中心pr项目
       /// </summary>
       [Display(Name ="ct成本中心pr项目")]
       [MaxLength(10)]
       [Column(TypeName="varchar(10)")]
       public string fytype { get; set; }

       /// <summary>
       ///auto自动插入
       /// </summary>
       [Display(Name ="auto自动插入")]
       [MaxLength(10)]
       [Column(TypeName="varchar(10)")]
       public string ls_type { get; set; }

       /// <summary>
       ///sap创建时间
       /// </summary>
       [Display(Name ="sap创建时间")]
       [Column(TypeName="date")]
       public DateTime? cdate { get; set; }

       
    }
}